package org.dong.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.dong.pojo.User;

@Mapper
public interface UserMapper {
    Integer addUser(@Param("u") User user);

    User getUser(@Param("cardId") String cardId,@Param("id") Integer id,@Param("phone")String phone);//根据身份证查询是否已经存在

    User checkLogin(@Param("account") String account,@Param("password") String password);
}
